CC:=gcc

fopen_fclose:01_fopen_fclose.c
	gcc 01_fopen_fclose.c -o 01_fopen_fclose
	./01_fopen_fclose
	rm 01_fopen_fclose

fwrite: 02_fwrite.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@

fred: 03_fread.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@
flove: 04_kaoshi.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@

flove1: 05_lovecnt.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@

flove1exit: 05_lovecnt_exit.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@


